package com.telit.firecommand.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.telit.firecommand.entity.CommFireHandle;
import com.telit.firecommand.entity.FireWeatherInfo;
import com.telit.firecommand.entity.ForestLandInformation;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


/**
 * comm_history_fire
 * @author 
 */
@Data
public class CommHistoryFireVO implements Serializable {

    private Long id;

    @ApiModelProperty(value = "火情id")
    private String fireId;

    @ApiModelProperty(value = "森林火灾名称")
    private String fireName;

    @ApiModelProperty(value = "森林火灾编码")
    private String fireCode;

    @ApiModelProperty(value = "火场面积")
    private String fireArea;

    @ApiModelProperty(value = "受害原始林面积")
    private String damageOriginalArea;

    @ApiModelProperty(value = "受害次生林面积")
    private String damageSecondaryArea;

    @ApiModelProperty(value = "受害人工林面积")
    private String industrialForestArea;

    @ApiModelProperty(value = "海拔")
    private String altitude;

    @ApiModelProperty(value = "坡度")
    private String slope;

    @ApiModelProperty(value = "坡向")
    private String slopeAspect;

    @ApiModelProperty(value = "坡位")
    private String slopePosition;

    @ApiModelProperty(value = "蓄积损失")
    private String accumulationLoss;

    @ApiModelProperty(value = "成林蓄积损失")
    private String forestStockLoss;

    @ApiModelProperty(value = "幼林损失株数")
    private String youngForestNumber;

    @ApiModelProperty(value = "受害新造林面积")
    private String affectedNewAfforestationArea;

    @ApiModelProperty(value = "轻伤人数")
    private Integer minorInjuriesNumber;

    @ApiModelProperty(value = "重伤人数")
    private Integer seriousInjuriesNumber;

    @ApiModelProperty(value = "死亡人数")
    private Integer deathNumber;

    @ApiModelProperty(value = "起火时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date fireTime;


    @ApiModelProperty(value = "发现时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "起火原因")
    private String fireReason;

    @ApiModelProperty(value = "扑灭时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date endTime;


    @ApiModelProperty(value = "森林火灾等级")
    private String fireLevel;
    private String fireLevelStr;


    private String districtCode;

    @ApiModelProperty(value = "行政区划")
    private String districtCodeName;

    @ApiModelProperty(value = "地址")
    private String placeName;

    @ApiModelProperty(value = "投入人数")
    private Integer investmentPeople;

    @ApiModelProperty(value = "投入设备")
    private Integer investmentMachine;

    @ApiModelProperty(value = "投入车辆")
    private Integer investmentCar;


    //林地信息
    @ApiModelProperty(value = "林地信息")
    private ForestLandInformation forestLandInformation;

    //指挥信息
    @ApiModelProperty(value = "指挥信息")
    private CommFireHandle commFireHandle;

    @ApiModelProperty(value = "天气信息")
    private FireWeatherInfo fireWeatherInfo;

    private static final long serialVersionUID = 1L;
}